//
//  DisplayImageViewController.swift
//  Bee
//
//  Created by kyson on 15/12/30.
//  Copyright © 2015年 kyson. All rights reserved.
//

import UIKit

class DisplayImageViewController: IGViewController {

    @IBOutlet weak var mImageView: UIImageView!
    
    var mViewModel:DisplayImageViewModel!
    
    
    internal override func viewModelDidBinded(){
        mViewModel = self.viewModel as! DisplayImageViewModel
    }

    
    override func viewDidLoad() {
        super.viewDidLoad()
        let imageName = mViewModel.images[0] as! String
        mImageView.image = UIImage.init(named: imageName)
        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    

}
